﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CarriersGuanli.aspx.cs" Inherits="Loginter.承运单管理.CarriersG" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>晶科物流管理系统</title>
    <link href="../css/bootstrap.css" rel="stylesheet" />
    <link href="../css/css.css" rel="stylesheet" />
    <link href="../My97DatePicker/skin/WdatePicker.css" rel="stylesheet" />
    <script src="../js/jquery1.9.0.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/sdmenu.js"></script>
    <script src="../js/laydate/laydate.js"></script>
    <script src="../My97DatePicker/calendar.js"></script>
    <script src="../My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
        .auto-style1 {
            position: absolute !important;
            position: relative;
            _top: -200px;
            width: 100%;
            height: 60px;
            background: url('img/top.png') no-repeat right center;
            left: 0px;
            top: -200px;
        }
    </style>
</head>

<body>
    <form id="form1" runat="server">
        <div class="header">
            <div class="logo">
               <h2 style="color:white;">奋斗物流管理系统</h2>
            </div>

            <div class="header-right">
                <i class="icon-question-sign icon-white"></i><a href="#">帮助</a> <i class="icon-off icon-white"></i><a id="modal-973558" href="#modal-container-973558" role="button" data-toggle="modal">注销</a> <i class="icon-user icon-white"></i><a href="#">开票员的工作平台</a> <i class="icon-envelope icon-white"></i><a href="#">发送短信</a>
                <div id="modal-container-973558" class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width: 300px; margin-left: -150px; top: 30%">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h3 id="myModalLabel">注销系统
                        </h3>
                    </div>
                    <div class="modal-body">
                        <p>
                            您确定要注销退出系统吗？
                        </p>
                    </div>
                    <div class="modal-footer">
                        <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
                        <a class="btn btn-primary" style="line-height: 20px;" href="登录.html">确定退出</a>
                    </div>
                </div>
            </div>
        </div>
        <!-- 顶部 -->

        <div id="middle">
            <div class="left">

                <script type="text/javascript">
                    var myMenu;
                    window.onload = function () {
                        myMenu = new SDMenu("my_menu");
                        myMenu.init();
                    };
                </script>

               <div id="my_menu" class="sdmenu">
                   <div>
                        <span>登录用户信息</span>
                        <a href="../登录用户信息/Login.aspx">登录</a>
                        <a href="../登录用户信息/UpdateUserInfo.aspx">修改用户信息</a>
                    </div>
                    <div>
                        <span>系统维护</span>
                        <a href="../系统维护/AddUserInfo.aspx">添加用户</a>
                        <a href="../系统维护/SyslogSelect.aspx">日志查询</a>
                        <a href="../系统维护/UserInfoWeiHu.aspx">用户维护</a>
                        <a href="../系统维护/XiTongWeiHu.aspx">系统维护</a>
                    </div>
                    <div>
                        <span>车辆管理</span>
                        <a href="../车辆管理/AddTruckList.aspx">添加车辆信息</a>
                        <a href="../车辆管理/AddTruckTeam.aspx">添加车队信息</a>
                        <a href="../车辆管理/TruckInfoList.aspx">车辆信息维护</a>
                        <a href="../车辆管理/TruckTeamInfo.aspx">车队信息维护</a>
                        <a href="../车辆管理/UpdateTruckList.aspx">修改车辆信息</a>
                        <a href="../车辆管理/UpdateTruckTeam.aspx">修改车队信息</a>
                    </div>
                    <div>
                        <span>车辆调度</span>
                        <a href="../车辆调度/DiaoDuTruck.aspx">调度车辆</a>
                        <a href="../车辆调度/TruckDiaoDuGunaLi.aspx">车辆调度管理</a>
                    </div>
                    <div>
                        <span>承运单管理</span>
                        <a href="../承运单管理/AddCarriers.aspx">添加承运单</a>
                        <a href="../承运单管理/CarriersGuanli.aspx">承运单管理</a>
                        <a href="../承运单管理/CarriersXiangQing.aspx">承运单详情</a>
                        <a href="../承运单管理/JieShouQianShouCarriers.aspx">接收签收承运单</a>
                        <a href="../承运单管理/UpdateCarries.aspx">修改承运单</a>
                    </div>
                    <div>
                        <span>驾驶员管理</span>
                        <a href="../驾驶员管理/AddDriver.aspx">添加驾驶员信息</a>
                        <a href="../驾驶员管理/DriverBindCar.aspx">驾驶员绑定车辆</a>
                        <a href="../驾驶员管理/DriverInfoList.aspx">驾驶员信息维护</a>
                        <a href="../驾驶员管理/UpdateDriverInfo.aspx">修改驾驶员信息</a>
                    </div> 
                    <div>
                        <span>运力查询</span>
                        <a href="../运力查询/SelectGoods.aspx">查询承运车队</a>
                        <a href="../运力查询/SelectGoodsTruck.aspx">查询承担车辆</a>
                        <a href="../运力查询/SelectGoodsTruckTeam.aspx">查询历史承运单</a>
                    </div>
                </div>

            </div>
            <div class="Switch"></div>
            <script type="text/javascript">
                $(document).ready(function (e) {
                    $(".Switch").click(function () {
                        $(".left").toggle();

                    });
                });
            </script>

            <div class="right" id="mainFrame">

                <div class="right_cont">
                    <ul class="breadcrumb">
                        当前位置：
  <a href="#">首页</a>
                        <span class="divider">/</span>
                        <a href="#">业务处理</a>
                        <span class="divider">/</span>
                        电脑开票
    <div>
        <h3 style="text-align: center;">承运单维护</h3>
        <hr />
        <table style="width: 800px; margin: 0 auto;">
            <tr>
                <td>承运单号：</td>
                <td>
                    <asp:TextBox ID="txt_carries" runat="server"></asp:TextBox></td>
                <td>承运日期：</td>
                <td>
                    <input type="text" class="Wdate" id="txt_time" runat="server" onclick="WdatePicker({isShowWeek:true,onpicked:function() {$dp.$('d122_1').value=$dp.cal.getP('W','W');$dp.$('d122_2').value=$dp.cal.getP('W','WW');}})" />
                    <%--<asp:TextBox ID="txt_time" runat="server"></asp:TextBox>--%></td>
                <td>至</td>
                <td>
                    <input type="text" class="Wdate" id="txt_end" runat="server" onclick="WdatePicker({isShowWeek:true,onpicked:function() {$dp.$('d122_1').value=$dp.cal.getP('W','W');$dp.$('d122_2').value=$dp.cal.getP('W','WW');}})" />
                   <%-- <asp:TextBox ID="txt_this" runat="server"></asp:TextBox>--%></td>
            </tr>
            <tr>
                <td>收货人：</td>
                <td>
                    <asp:TextBox ID="txt_Receive" runat="server"></asp:TextBox></td>
                <td>发货人：</td>
                <td>
                    <asp:TextBox ID="txt_Send" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="5" style="text-align: right;">
                    <asp:Button ID="btn_select" runat="server" Text="查询" OnClick="btn_select_Click" /></td>
            </tr>
        </table>
        <hr />
        <table style="width: 800px; margin: 0 auto;">
            <tr>
                <td>承运单号</td>
                <td>发货人</td>
                <td>发货单位</td>
                <td>收货人</td>
                <td>收货单位</td>
                <td>承运日期</td>
                <td>合计费用</td>
                <td>承运单状态</td>
                <td>查看</td>
                <td>用户操作</td>
            </tr>
            <asp:Repeater ID="repser_carries" runat="server" OnItemCommand="repser_carries_ItemCommand">
                <ItemTemplate>
                    <tr>
                        <td><%# Eval("CarriersID")%></td>
                        <td><%# Eval("SendLinkMan")%></td>
                        <td><%# Eval("SendCompany")%></td>
                        <td><%# Eval("ReceiveLinkMan")%></td>
                        <td><%# Eval("ReceiveCompany")%></td>
                        <td><%# Eval("LeaverDate")%></td>
                        <td><%# Eval("TotalCost")%></td>
                        <td><%# Eval("IsDelete")%></td>
                        <td>
                            <asp:LinkButton ID="lb_bind" runat="server" CommandName="select" CommandArgument='<%# Eval("CarriersID") %>'>详情</asp:LinkButton>
                        </td>
                        <td>
                            <asp:LinkButton ID="lb_AddGoods" runat="server" CommandName="addGoods" CommandArgument='<%# Eval("CarriersID") %>'>添加货物</asp:LinkButton>
                            <asp:LinkButton ID="lb_update" runat="server" CommandName="update" CommandArgument='<%# Eval("CarriersID") %>'>修改</asp:LinkButton>
                            <asp:LinkButton ID="link_delete" OnClientClick="return confirm('你确定要删除吗？')" CommandName="del" CommandArgument='<%# Eval("CarriersID") %>' runat="server">删除</asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
      <webdiyer:AspNetPager ID="TruckPager" runat="server" Width="98%" NumericButtonCount="3" UrlPaging="true" NumericButtonTextFormatString="[{0}]"
            CustomInfoHTML="第 <font color='red'><b>%CurrentPageIndex%</b></font> 页 共 %PageCount% 页 显示 %StartRecordIndex%-%EndRecordIndex% 条"
            ShowCustomInfoSection="left" FirstPageText="首页" LastPageText="末页" NextPageText="下页" PrevPageText="上页" Font-Names="Arial"
            BackColor="#EDEDED" AlwaysShow="true" SubmitButtonText="跳转" SubmitButtonStyle="botton" HorizontalAlign="Right" OnPageChanging="TruckPager_PageChanging1" PageSize="6">
        </webdiyer:AspNetPager>
    </div>
                </div>
            </div>

            <!-- 底部 -->
            <div id="footer">版权所有：晶科客流 &copy; 2015&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.aspku.com/" target="_blank">源码之家</a></div>



            <script type="text/javascript">
                !function () {
                    laydate.skin('molv');
                    laydate({ elem: '#Calendar' });
                    laydate.skin('molv');
                    laydate({ elem: '#Calendar2' });
                }();

            </script>
    </form>
</body>
</html>
